package com.rtu.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.rtu.domain.WaterStation;
import com.rtu.dto.QueryStationDto;
import com.rtu.dto.WaterStationResponse;

@Repository
public interface IWaterStationDao {

    List<WaterStationResponse> query(QueryStationDto dto);

    Integer count();

    WaterStation queryById(Integer stationId);
    
    int updateStation(WaterStation station);
    
    int insertStation(WaterStation station);
    
    List<WaterStation> queryAllWaterStation();
}
